From 69ce0b822262c9ea5ae9cc4e89be0fa4498eaf25 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Fri, 7 Jul 2023 18:01:28 +0100 Subject: Add int-ne instruction --- ....shedlang.compiler.testing.snapshots.Snapshotter)].expected | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenIntNotEqualTests]/[method:intNotEqualIsCompiledToComparison(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenIntNotEqualTests]/[method:intNotEqualIsCompiledToComparison(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected') diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenIntNotEqualTests]/[method:intNotEqualIsCompiledToComparison(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenIntNotEqualTests]/[method:intNotEqualIsCompiledToComparison(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected new file mode 100644 index 00000000..6221bd31 --- /dev/null +++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenIntNotEqualTests]/[method:intNotEqualIsCompiledToComparison(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected @@ -0,0 +1,10 @@ +Stack: + * %tmp__1 + * %a + +Module: +define void @f() { + %tmp__0 = icmp ne i64 %b, %c + %tmp__1 = zext i1 %tmp__0 to i64 + ret void +} -- cgit v1.2.3